// 注册方法
import request from "../utils/request";

export function register(userName,realName, phoneNumber ,password) {
    const data = {
        userName,
        realName,
        phoneNumber,
        password
    }
    return request({
        url: 'api/user/register',
        method: 'post',
        data: data
    })
}
